package xx.imports;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import xx.imports.entity.Role;
import xx.imports.entity.User;

@SpringBootApplication
public class BootImportsApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(BootImportsApplication.class, args);
        Object user = context.getBean("haloUser");
        System.out.println(user);
    }
}
